wayland: Use on globals closure for loading cursor themes
authorJonas Ådahl <jadahl@gmail.com>
Mon, 18 May 2015 08:38:34 +0000 (16:38 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 20 May 2015 03:45:13 +0000 (11:45 +0800)
commit7fef713224583ab906d0875eedcf7a76534eff0f
tree7289702e243b8303dd31e273a81f94559532733b
parent4e9be39518edbd1cbaa5959598d43d8415a32195
wayland: Use on globals closure for loading cursor themes

Instead of putting a 'load cursor themes' call when receiving an wl_shm
global, make it a closure that is prepared during initialization.

https://bugzilla.gnome.org/show_bug.cgi?id=719819
gdk/wayland/gdkdisplay-wayland.c